package oa.hleast.xswl.pojo.domain.activity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import oa.hleast.common.base.BaseEntity;

import java.util.Date;

/**
 * cms_activity_calendar
 *
 * @author 302
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("cms_activity_calendar")
public class CmsActivityCalendar extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 活动ID
     */
    private Integer activityId;

    /**
     * 活动类型ID
     */
    private Long activityTypeId;

    private Integer year;

    private Integer month;

    private Integer day;

    /**
     * 活动开始时间
     */
    private Date activityStartDate;

    /**
     * 活动结束时间
     */
    private Date activityEndDate;

    /**
     * 报名开始时间
     */
    private Date signUpStartDate;

    /**
     * 报名截止时间
     */
    private Date signUpEndDate;

    /**
     * 活动签到开始时间
     */
    private Date signInStartDate;

    /**
     * 活动签到结束时间
     */
    private Date signInEndDate;

    /**
     * 删除标识  (0未删除 1已删除)
     */
    @TableLogic(value = "0", delval = "1")
    private Boolean deleted;

}